package com.auction.enums;

/**
 * 拍卖状态枚举
 */
public enum AuctionStatus {

    PENDING("PENDING", "待审核"),
    ACTIVE("ACTIVE", "进行中"),
    FINISHED("FINISHED", "已结束"),
    CANCELLED("CANCELLED", "已取消"),
    REJECTED("REJECTED", "已拒绝");

    private final String value;
    private final String desc;

    AuctionStatus(String value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public String getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }
}